home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 488 < prev    next >
Internet Message Format  |  1996-08-06  |  1KB

  1. Path: koobera.math.uic.edu!djb
  2. From: djb@koobera.math.uic.edu (D. J. Bernstein)
  3. Message-ID: <1996Mar408.48.01.11162@koobera.math.uic.edu>
  4. Date: 4 Mar 1996 08:48:01 GMT
  5. Newsgroups: gnu.misc.discuss,comp.std.c
  6. Subject: Re: Coding Standards are ignorant
  7. References: <4gum82$14v4@info4.rus.uni-stuttgart.de> <4hdhgm$6vq@solutions.solon.com> <1996Mar403.23.06.8316@koobera.math.uic.edu> <4he37i$a0u@solutions.solon.com>
  8. Organization: IR
  9.  
  10. Peter Seebach <seebs@solutions.solon.com> wrote:
  11. > D. J. Bernstein <djb@koobera.math.uic.edu> wrote:
  12. > > Seebach has been making a bunch of false statements on gnu.misc.discuss
  13. > > about portability, speed, and various other things.
  14. > Example false statements:
  15.  
  16. ``There are no interesting programs you can't write entirely within 
  17. POSIX and ANSI.''
  18.  
  19. ``[ispunct()] has no excuse to assume that char is 8 bits.'' (Of course
  20. it has an excuse. Whether it's a _good_ excuse is a side issue.)
  21.  
  22. ``It will hurt because it's incorrect by the only standard applicable.''
  23. (False hypothesis, false logic, false conclusion.)
  24.  
  25. ``void main [has] NO BENEFIT WHATSOEVER.''
  26.  
  27. ``If declaring main as void really shuts gcc up, there is a bug in
  28. either gcc or your code.''
  29.  
  30. Referring to isalnum || strchr: ``... this version is likely to be
  31. within 5% of your version, because isalnum is normally blindingly fast,
  32. and most characters in addresses will be isalnum.''
  33.  
  34. Referring to RFC 822: ``... '.' must also be quoted.'' (No, not always.)
  35.  
  36. ---Dan
  37.